YayExtra\Classes\ProductPage D

Total Complexity 610
Dependencies 3
Dependents 2
Total lines 2,123
Lines of code 1,641
Logical lines of code 930
Comment lines 295
Methods 42
Properties 2

Methods 42

Method Rating Maintainability Complexity Lines of code
get_logic_action_result()
D
17
91 190
validate_option_fields()
D
17
73 226
add_cart_item_option_data()
C
32 29 95
display_option_on_orders_and_emails()
C
34 29 80
update_cart_option_item()
C
35 28 74
add_extra_product_in_cart()
C
40 28 55
get_option_field_data()
C
34 25 83
display_option_on_cart_and_checkout()
C
34 25 82
get_options_with_stock_in_cart()
C
38 26 65
add_extra_product()
C
38 26 65
checkout_update_after_created_order()
C
39 24 63
handle_after_cart_item_quantity_update()
B
45 22 37
handle_after_cart_item_removed()
B
46 20 35
get_option_set_of_product()
B
43 17 46
remove_extra_product_in_cart()
A
47 15 34
handle_check_cart_items()
A
46 12 35
add_fee_discount_by_action()
A
48 12 31
get_file_upload_data()
A
52 12 24
add_options_field()
A
45 11 38
before_calculate_totals()
A
47 11 35
add_link_edit_option_field_in_minicart()
A
50 10 26
get_product_applies()
A
54 9 19
check_logic_action()
S
53 7 24
get_fee_discount_by_action()
S
54 7 21
has_edit_link_option_field()
S
58 5 17
get_all_option_of_product()
S
57 5 17
custom_mini_cart_item_class()
S
62 5 11
__construct()
S
49 3 28
custom_quantity_input_args()
S
65 4 9
is_edit_option_mode()
S
76 3 3
upload_directory_custom()
S
60 2 13
get_instance()
S
72 2 6
checkout_order_exception_after_created_order()
S
73 2 5
custom_cart_item_class()
S
70 2 6
handle_upload_file()
S
60 1 14
handle_upload_file_default()
S
63 1 12
handle_order_item_thumbnail()
S
82 1 3
print_global_style()
S
91 1 2
handle_cart_item_thumbnail()
S
82 1 3
change_add_to_cart_text()
S
79 1 3
after_add_to_cart_form()
S
78 1 3
before_add_to_cart_form()
S
78 1 3